package com.skylin.mysell.dto;

import com.skylin.mysell.entities.OrderDetail;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.List;

/**
 * @author quanlinlin on 2018/12/20 22:17.
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
//@JsonInclude(JsonInclude.Include.NON_NULL)
public class OrderDTO {

    private String            orderId;
    private String            buyerName;
    private String            buyerPhone;
    private String            buyerAddress;
    private String            buyerOpenid;
    private BigDecimal        orderAmount;
    private Byte              orderStatus;
    private Byte              payStatus;
    private Timestamp         createTime;
    private Timestamp         updateTime;
    private List<OrderDetail> orderDetailList;
}
